Android 11i(2024)-11i(2024) SP1 interface changes

Historical version interface changes

This document describes the modified interfaces and other changes that can affect the compatibility possibly caused by these changes. The interface adjustment aims to provide users a more efficient, powerful, and perfect application.

Interface changes from SuperMap iMobile 11i(2024) for Android to SuperMap iMobile 11i(2024) SP1 for Android.

Change ID Changed content Module
1.
DatasetImage adjusts the following classes:

New Interface:

  • getCacheClipRegion(): Get the tile cropping area
  • setCacheClipRegion(GeoRegion value): Set the cache cropping area to obtain the contents of the tiles in the cropping area when the tile is requested. Only the Rest map service is valid.
  • isCacheClipRegionEnabled(): Get the effectiveness of tile cropping
  • setCacheClipRegionEnabled(boolean value): Set whether the tile cropping is effective. Default is false, and {@link #setCacheClipRegion} is only valid when true
  • startDownload(double maxScale, double minScale, GeoRegion clipRegion): Pre-cache according to the cropping area
data
2.
Environment adjusts the following classes:

New Interface:

  • setSingleThreadEnable(boolean singleThreadEnable): Set whether the map drawing mode is single-threaded
  • isSingleThreadEnable(): Get whether the map drawing mode is single-threaded
data
3.
PrivateCloudLicenseManager adjusts the following classes:

New Interface:

  • VerificationLicense(String licensecode,int[] codeArray): Verification permit
data
4.
Toolkit adjusts the following classes:

New Interface:

  • getLastError2(): Returns the latest error message of the current thread
  • getLastErrors(int count): Return the error log that sets the number of bars forward from the last one
  • getAllErrors(): Return all error logs
data
5.
DynamicElement adjusts the following classes:

New Interface:

  • addPoints(Point2Ds ps): Add point set
mapping
6.
Layer adjusts the following classes:

New Interface:

  • getClipRegion(): Return to the cropping area of the layer
  • setClipRegion(GeoRegion geoRegion): Set the cropping area of the layer
  • isClipRegionEnabled(): Returns whether the cropping area is valid
  • setClipRegionEnabled(boolean value): Set whether the cropping area is valid
mapping
7.
Map adjusts the following classes:

New Interface:

  • isClipRegionEnabled(): Get if map cropping takes effect
mapping
8.
TrackingMoveHelper adjusts the following classes:

Change Interface:

  • Time(long period): The interval between two points in animation execution, unit ms, default value 10
  • Precision(double precision): Filter point, skip the point when the distance between two points is less than the specified value. Unit: meters, default 0.0001 meters
mapping
9.
ServiceBase adjusts the following classes:

New Interface:

  • getToken(): Enquiry service support to obtain token
  • setToken(String token): Query service support setup token
services